{include file="header.html"}

<div class="page-header">
	<h6>
		定制管理
		<small>
			<i class="ace-icon fa fa-angle-double-right"></i>
			定制详情
		</small>
	</h6>
</div>
<div class="row">
<div class="col-xs-12">
	<form class="form-horizontal" role="form" method="post" action="?app=diy&act=save">
		<input type="hidden" name="id" value="{$row->id}" />
		<div class="form-group">
			<label class="col-sm-2 control-label no-padding-right" for="nick_name"> 会员 </label>
			<div class="col-sm-10 col-height">
				<a href="?app=member&act=edit&id={$row->member_id}" target="_blank">{$row->member_name}</a>
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label no-padding-right"> 单号 </label>
			<div class="col-sm-10 col-height">
				{$row->order_sn}
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label no-padding-right"> 姓名 </label>
			<div class="col-sm-10 col-height">
				{$row->name}
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label no-padding-right" for="mobile"> 手机号码 </label>
			<div class="col-sm-10 col-height">
				{$row->mobile}
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label no-padding-right" for="qq"> 房型 </label>
			<div class="col-sm-10 col-height">
				{$row->room}
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label no-padding-right" for="money"> 地址 </label>
			<div class="col-sm-10 col-height">
				{$row->province} {$row->city} {$row->district} {$row->address}
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label no-padding-right" for="commission"> 上门时间</label>
			<div class="col-sm-10 col-height">
				{date('Y-m-d H:i', $row->work_time)}
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label no-padding-right" for="commission"> 下单时间</label>
			<div class="col-sm-10 col-height">
				{date('Y-m-d H:i:s', $row->add_time)}
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label no-padding-right" for="status"> 状态 </label>
			<div class="col-sm-10">
				<select name="status" class="col-xs-2">
				{foreach from=$status_name item=g key=i}
				<option value="{$i}" {if strval($row->status)==strval($i)}selected{/if}>{$g}</option>
				{/foreach}
				</select>
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label no-padding-right" for="status"> 流程 </label>
			<div class="col-sm-10 col-height">
				<ul>
					{foreach from=$row->status_list item=g}
					<li>
						<div><strong>{$g->title}</strong></div>
						<div><span style="color:#ccc;">{date('m-d H:i', $g->add_time)}</span> {$g->memo}</div>
					</li>
					{/foreach}
				</ul>
			</div>
		</div>
		<div class="clearfix form-actions">
			<div class="col-md-offset-3 col-md-9">
				<button class="btn btn-info" type="submit">
					<i class="ace-icon fa fa-check bigger-110"></i>
					提交
				</button>

				&nbsp; &nbsp; &nbsp;
				<button class="btn" type="reset">
					<i class="ace-icon fa fa-undo bigger-110"></i>
					重置
				</button>
			</div>
		</div>
	</form>
</div>
</div>

{include file="footer.html"}
<script>
$(function(){
	
});
</script>